﻿<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>
<%@ Import Namespace="CourseSystem.Common.Helpers" %>
<%@ Import Namespace="CourseSystem.Core.Enum" %>

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Left</title>
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" class="body-b">

            <?XML:NAMESPACE PREFIX=TVNS />
<?IMPORT NAMESPACE=TVNS IMPLEMENTATION="<%=ResolveUrl("~/webctrl_client/1_0/treeview.htc") %>" />
<tvns:treeview id="TreeView_Company" selectedNodeIndex="0" HelperID="__TreeView_Company_State__" 
systemImagesPath="<%=ResolveUrl("~/webctrl_client/1_0/treeimages/") %>" 
onexpand="javascript: if (this.clickedNodeIndex != null) this.queueEvent('onexpand', this.clickedNodeIndex)" 
oncollapse="javascript: if (this.clickedNodeIndex != null) this.queueEvent('oncollapse', this.clickedNodeIndex)" 
oncheck="javascript: if (this.clickedNodeIndex != null) this.queueEvent('oncheck', this.clickedNodeIndex)" 
onselectedindexchange="javascript: if (event.oldTreeNodeIndex != event.newTreeNodeIndex) this.queueEvent('onselectedindexchange', event.oldTreeNodeIndex + ',' + event.newTreeNodeIndex)"

nodeTypes="[object]" >
<% var isAdmin = UserHelper.LoginUser.UserType == UserTypeEnum.Admin; %>
<tvns:treenode Selected="true" NavigateUrl="<%=Url.Action("Index","Home") %>"  ImageUrl="<%=ResolveUrl("~/Content/admin/images/ICO_58.GIF")%>" Target="_blank" ID="-1" Expanded="True" >进入前台
</tvns:treenode>
<tvns:treenode Selected="true" NavigateUrl="<%=Url.Action("Index","Setting") %>"  ImageUrl="<%=ResolveUrl("~/Content/admin/images/ICO_57.GIF")%>" Target="main" ID="-1" Expanded="True" >课程管理
</tvns:treenode>
<tvns:treenode Selected="true" NavigateUrl=""  ImageUrl="<%=ResolveUrl("~/Content/admin/images/ico_29.gif")%>" Target="main" ID="-1" Expanded="True" >课程导学
<tvns:treenode Selected="true" NavigateUrl="<%=Url.Action("Notice","AdminGuide")%>"  ImageUrl="<%=ResolveUrl("~/Content/admin/images/ico_45.gif")%>" Target="main" ID="-1" Expanded="True" >课程通知
</tvns:treenode> 
<tvns:treenode Selected="true" NavigateUrl="<%=Url.Action("Index","AdminGuide")%>"  ImageUrl="<%=ResolveUrl("~/Content/admin/images/ico_45.gif")%>" Target="main" ID="-1" Expanded="True" >设置
</tvns:treenode> 
</tvns:treenode> 
</tvns:treenode> 
<tvns:treenode Selected="true" NavigateUrl=""  ImageUrl="<%=ResolveUrl("~/Content/admin/images/ico_73.gif")%>" Target="main" ID="-1" Expanded="True" >课程学习
<tvns:treenode Selected="true" NavigateUrl="<%=Url.Action("Chapter","AdminStudy")%>"  ImageUrl="<%=ResolveUrl("~/Content/admin/images/ico_45.gif")%>" Target="main" ID="-1" Expanded="True" >章节学习设置
</tvns:treenode> 
<tvns:treenode Selected="true" NavigateUrl="<%=Url.Action("Case","AdminStudy")%>"  ImageUrl="<%=ResolveUrl("~/Content/admin/images/ico_45.gif")%>" Target="main" ID="-1" Expanded="True" >案例
</tvns:treenode> 
<tvns:treenode Selected="true" NavigateUrl="<%=Url.Action("PPT","AdminStudy")%>"  ImageUrl="<%=ResolveUrl("~/Content/admin/images/ico_45.gif")%>" Target="main" ID="-1" Expanded="True" >教师PPT
</tvns:treenode> 
<tvns:treenode Selected="true" NavigateUrl="<%=Url.Action("Courseware","AdminStudy")%>"  ImageUrl="<%=ResolveUrl("~/Content/admin/images/ico_45.gif")%>" Target="main" ID="-1" Expanded="True" >讲授式课件
</tvns:treenode> 
<tvns:treenode Selected="true" NavigateUrl="<%=Url.Action("Prospect","AdminStudy")%>"  ImageUrl="<%=ResolveUrl("~/Content/admin/images/ico_45.gif")%>" Target="main" ID="-1" Expanded="True" >学科进展
</tvns:treenode> 
<tvns:treenode Selected="true" NavigateUrl="<%=Url.Action("Internet","AdminStudy")%>"  ImageUrl="<%=ResolveUrl("~/Content/admin/images/ico_45.gif")%>" Target="main" ID="-1" Expanded="True" >Internet资源
</tvns:treenode> 
</tvns:treenode> 
</tvns:treenode>
</tvns:treenode> 
<tvns:treenode Selected="true" NavigateUrl=""  ImageUrl="<%=ResolveUrl("~/Content/admin/images/ico_75.gif")%>" Target="main" ID="-1" Expanded="True" >作业测验

    <tvns:treenode Selected="true" NavigateUrl="<%=Url.Action("Lib","AdminExamLib")%>"  ImageUrl="<%=ResolveUrl("~/Content/admin/images/ICO_45.gif")%>" Target="main" ID="-1" >题库管理
</tvns:treenode>
<tvns:treenode Selected="true" NavigateUrl="<%=Url.Action("SectionTest","AdminExamLib")%>"  ImageUrl="<%=ResolveUrl("~/Content/admin/images/ICO_45.gif")%>" Target="main" ID="-1" >习题与作业管理
</tvns:treenode> 
<tvns:treenode Selected="true" NavigateUrl="<%=Url.Action("Examination","AdminExamLib",new {type=4})%>"  ImageUrl="<%=ResolveUrl("~/Content/admin/images/ICO_45.gif")%>" Target="main" ID="-1" >考试试卷
</tvns:treenode>  
<tvns:treenode Selected="true" NavigateUrl="<%=Url.Action("Examiner","AdminExamLib")%>"  ImageUrl="<%=ResolveUrl("~/Content/admin/images/ICO_45.gif")%>" Target="main" ID="-1" >考试监考
</tvns:treenode>  
<tvns:treenode Selected="true" NavigateUrl="<%=Url.Action("Scoring","AdminExamLib")%>"  ImageUrl="<%=ResolveUrl("~/Content/admin/images/ICO_45.gif")%>" Target="main" ID="-1" >阅卷打分
</tvns:treenode>   
<tvns:treenode Selected="true" NavigateUrl="<%=Url.Action("ExamResult","AdminExamLib")%>"  ImageUrl="<%=ResolveUrl("~/Content/admin/images/ICO_45.gif")%>" Target="main" ID="-1" >成绩导出
</tvns:treenode>  
<tvns:treenode Selected="true" NavigateUrl="<%=Url.Action("Student","AdminExamLib")%>"  ImageUrl="<%=ResolveUrl("~/Content/admin/images/ICO_45.gif")%>" Target="main" ID="-1" >评价学生
</tvns:treenode>  
</tvns:treenode>
<tvns:treenode Selected="true" NavigateUrl=""  ImageUrl="<%=ResolveUrl("~/Content/admin/images/ico_72.gif")%>" Target="main" ID="-1" Expanded="True" >课程资源库
<tvns:treenode Selected="true" NavigateUrl="<%=Url.Action("Common","AdminResources",new{type=1})%>"  ImageUrl="<%=ResolveUrl("~/Content/admin/images/ico_45.gif")%>" Target="main" ID="-1" Expanded="True" >文本
</tvns:treenode> 
<tvns:treenode Selected="true" NavigateUrl="<%=Url.Action("Common","AdminResources",new{type=2})%>"  ImageUrl="<%=ResolveUrl("~/Content/admin/images/ico_45.gif")%>" Target="main" ID="-1" Expanded="True" >图像
</tvns:treenode> 
<tvns:treenode Selected="true" NavigateUrl="<%=Url.Action("Common","AdminResources",new{type=3})%>"  ImageUrl="<%=ResolveUrl("~/Content/admin/images/ico_45.gif")%>" Target="main" ID="-1" Expanded="True" >Flash
</tvns:treenode> 
<tvns:treenode Selected="true" NavigateUrl="<%=Url.Action("Common","AdminResources",new{type=4})%>"  ImageUrl="<%=ResolveUrl("~/Content/admin/images/ico_45.gif")%>" Target="main" ID="-1" Expanded="True" >音频
</tvns:treenode> 
<tvns:treenode Selected="true" NavigateUrl="<%=Url.Action("Common","AdminResources",new{type=5})%>"  ImageUrl="<%=ResolveUrl("~/Content/admin/images/ico_45.gif")%>" Target="main" ID="-1" Expanded="True" >视频
</tvns:treenode> 
<tvns:treenode Selected="true" NavigateUrl="<%=Url.Action("Common","AdminResources",new{type=6})%>"  ImageUrl="<%=ResolveUrl("~/Content/admin/images/ico_45.gif")%>" Target="main" ID="-1" Expanded="True" >PPT
</tvns:treenode> 
<tvns:treenode Selected="true" NavigateUrl="<%=Url.Action("Common","AdminResources",new{type=7})%>"  ImageUrl="<%=ResolveUrl("~/Content/admin/images/ico_45.gif")%>" Target="main" ID="-1" Expanded="True" >学习包
</tvns:treenode> 
</tvns:treenode>
<tvns:treenode Selected="true" NavigateUrl=""  ImageUrl="<%=ResolveUrl("~/Content/admin/images/ico_58.gif")%>" Target="main" ID="-1" Expanded="True" >师生交互
<tvns:treenode Selected="true" NavigateUrl="<%=Url.Action("Question","AdminInteraction")%>"  ImageUrl="<%=ResolveUrl("~/Content/admin/images/ico_45.gif")%>" Target="main" ID="-1" Expanded="True" >师生问答
</tvns:treenode> 
<tvns:treenode Selected="true" NavigateUrl="<%=Url.Action("Forums","AdminInteraction")%>"  ImageUrl="<%=ResolveUrl("~/Content/admin/images/ico_45.gif")%>" Target="main" ID="-1" Expanded="True" >主题讨论
</tvns:treenode>
</tvns:treenode>
<tvns:treenode Selected="true" NavigateUrl=""  ImageUrl="<%=ResolveUrl("~/Content/admin/images/ico_57.gif")%>" Target="main" ID="-1" Expanded="True" >学习支持
<tvns:treenode Selected="true" NavigateUrl="<%=Url.Action("Guide","AdminSupport")%>"  ImageUrl="<%=ResolveUrl("~/Content/admin/images/ico_45.gif")%>" Target="main" ID="-1" Expanded="True" >导航
</tvns:treenode> 
<tvns:treenode Selected="true" NavigateUrl="<%=Url.Action("Helper","AdminSupport")%>"  ImageUrl="<%=ResolveUrl("~/Content/admin/images/ico_45.gif")%>" Target="main" ID="-1" Expanded="True" >课程使用帮助
</tvns:treenode> 
<tvns:treenode Selected="true" NavigateUrl="<%=Url.Action("Process","AdminSupport")%>"  ImageUrl="<%=ResolveUrl("~/Content/admin/images/ico_45.gif")%>" Target="main" ID="-1" Expanded="True" >学习进度
</tvns:treenode> 
<tvns:treenode Selected="true" NavigateUrl="<%=Url.Action("Software","AdminSupport")%>"  ImageUrl="<%=ResolveUrl("~/Content/admin/images/ico_45.gif")%>" Target="main" ID="-1" Expanded="True" >常用软件
</tvns:treenode> 
</tvns:treenode> 
<tvns:treenode Selected="true" NavigateUrl=""  ImageUrl="<%=ResolveUrl("~/Content/admin/images/ico_57.gif")%>" Target="main" ID="-1" Expanded="True" >评价管理
<% if(isAdmin)
   { %>
<tvns:treenode Selected="true" NavigateUrl="<%= Url.Action("Index", "AdminComment") %>"  ImageUrl="<%= ResolveUrl("~/Content/admin/images/ico_45.gif") %>" Target="main" ID="-1" Expanded="True" >教师评价
</tvns:treenode> 
<tvns:treenode Selected="true" NavigateUrl="<%= Url.Action("TeacherStat", "AdminComment") %>"  ImageUrl="<%= ResolveUrl("~/Content/admin/images/ico_45.gif") %>" Target="main" ID="-1" Expanded="True" >教师评价统计
</tvns:treenode> <% } %>
<tvns:treenode Selected="true" NavigateUrl="<%=Url.Action("CourseComment","AdminComment")%>"  ImageUrl="<%=ResolveUrl("~/Content/admin/images/ico_45.gif")%>" Target="main" ID="-1" Expanded="True" >课程评价
</tvns:treenode>
<tvns:treenode Selected="true" NavigateUrl="<%=Url.Action("CourseStat","AdminComment")%>"  ImageUrl="<%=ResolveUrl("~/Content/admin/images/ico_45.gif")%>" Target="main" ID="-1" Expanded="True" >课程评价统计
</tvns:treenode> 
</tvns:treenode> 
</tvns:treenode>
</tvns:treenode>
<tvns:treenode Selected="true" NavigateUrl=""  ImageUrl="<%=ResolveUrl("~/Content/admin/images/ico_74.gif")%>" Target="main" ID="-1" Expanded="True" >学生管理

<tvns:treenode Selected="true" NavigateUrl="<%=Url.Action("College","Admin")%>"  ImageUrl="<%=ResolveUrl("~/Content/admin/images/ico_45.gif")%>" Target="main" ID="-1" Expanded="True" >学院
</tvns:treenode>
 <tvns:treenode Selected="true" NavigateUrl="<%=Url.Action("Student","Admin")%>"  ImageUrl="<%=ResolveUrl("~/Content/admin/images/ico_45.gif")%>" Target="main" ID="-1" Expanded="True" >学生
</tvns:treenode>
</tvns:treenode>
<% if(isAdmin){ %>
<tvns:treenode Selected="true" NavigateUrl="<%=Url.Action("UserList","Manage")%>"  ImageUrl="<%=ResolveUrl("~/Content/admin/images/ico_76.gif")%>" Target="main" ID="-1" Expanded="True" >用户管理 
</tvns:treenode> <%} %>
<tvns:treenode Selected="true" NavigateUrl=""  ImageUrl="<%=ResolveUrl("~/Content/admin/images/ico_72.gif")%>" Target="main" ID="-1" Expanded="True" >用户监控
<tvns:treenode Selected="true" NavigateUrl="<%=Url.Action("Student","AdminMonitor")%>"  ImageUrl="<%=ResolveUrl("~/Content/admin/images/ico_45.gif")%>" Target="main" ID="-1" Expanded="True" >学生监控
</tvns:treenode> 
<tvns:treenode Selected="true" NavigateUrl="<%=Url.Action("StudentHours","AdminMonitor")%>"  ImageUrl="<%=ResolveUrl("~/Content/admin/images/ico_45.gif")%>" Target="main" ID="-1" Expanded="True" >学生学时监控
</tvns:treenode> 
<% if(isAdmin){ %>
<tvns:treenode Selected="true" NavigateUrl="<%=Url.Action("Teacher","AdminMonitor")%>"  ImageUrl="<%=ResolveUrl("~/Content/admin/images/ico_45.gif")%>" Target="main" ID="-1" Expanded="True" >教师监控
</tvns:treenode> 
<tvns:treenode Selected="true" NavigateUrl="<%=Url.Action("TeacherHours","AdminMonitor")%>"  ImageUrl="<%=ResolveUrl("~/Content/admin/images/ico_45.gif")%>" Target="main" ID="-1" Expanded="True" >教师教时监控
</tvns:treenode><%} %>
</tvns:treenode> 
<tvns:treenode Selected="true" NavigateUrl="<%=Url.Action("logOut","Account")%>"  ImageUrl="<%=ResolveUrl("~/Content/admin/images/ico_73.gif")%>" Target="_top" ID="-1" >退出
</tvns:treenode>   
</tvns:treenode> 
</tvns:treeview>

       
	
    </body>
</html>
